package com.jsoft.jsofted.sys.vo;

import com.diboot.core.util.BeanUtils;
import com.jsoft.jsofted.sys.entity.UserEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class UserBean extends UserEntity {

    public void copyFrom(UserEntity entity) {
        BeanUtils.copyProperties(entity, this);
    }
}
